package com.wicket.okrframework.biz.service.dto.common;
import com.wicket.okrframework.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc AddDeptPositionDto
     * @使用场景
     */
    @Data
    public class AddDeptPositionDto extends BaseDto  implements Serializable {
      
    /**
     * 就职单位对象实例ID 
     */
    @ApiModelProperty("就职单位对象实例ID")
    private String	 entityId;

    /**
     * 冗余可选职务ID 
     */
    @ApiModelProperty("冗余可选职务ID")
    private String	 positionId;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      AddDeptPositionDto that = (AddDeptPositionDto) o;
      return  entityId == that.entityId&&positionId == that.positionId;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), entityId,positionId);
    }
    
      

    }
   